package se.sics.drsm.ports.drsm;

import se.sics.drsm.ports.drsm.events.DRSMJoinRing;
import se.sics.drsm.ports.drsm.events.DRSMLookupRequest;
import se.sics.drsm.ports.drsm.events.DRSMLookupResponse;
import se.sics.drsm.ports.drsm.events.LeaveChordRing;
import se.sics.kompics.PortType;
import se.sics.kompics.p2p.overlay.chord.ChordNeighborsRequest;
import se.sics.kompics.p2p.overlay.chord.ChordNeighborsResponse;

/**
 * The <code>NodePort</code> class.
 *
 * @author Cosmin Arad <cosmin@sics.se>
 * @author Shadid Chowdhury <msrch@kth.se>
 */
public class NodePort extends PortType {
    {
        negative(DRSMJoinRing.class);
        negative(LeaveChordRing.class);
        negative(DRSMLookupRequest.class);
        negative(ChordNeighborsRequest.class);
        positive(DRSMLookupResponse.class);
        positive(ChordNeighborsResponse.class);
    }
}
